package cn.edu.scau.cmi.zenglinghong.abstractFactory.factory;

import cn.edu.scau.cmi.zenglinghong.abstractFactory.domainAbstractClass.Meat;

public abstract class AbstractFactory {
	public static AbstractFactory getFactory(String brand) {
		AbstractFactory abstractFactory = null;
		switch (brand) {
		case "Wens":
			abstractFactory = new WensFactory(); break;
		case "Tianbang":
			abstractFactory = new TianbangFactory(); break;
		case "Aonong":
			abstractFactory = new AonongFactory(); break;
		}
		return abstractFactory;
	}
	public abstract Meat getBeef();
	public abstract Meat getChicken();
	public abstract Meat getPork();
}
